package com.jindianjichi.subject.domain.convert;

import com.jindianjichi.basic.entity.SubjectCategory;
import com.jindianjichi.subject.domain.entity.SubjectCategoryBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryConverter {
   SubjectCategoryConverter instance= Mappers.getMapper(SubjectCategoryConverter.class);
   SubjectCategory convertToBoCategory(SubjectCategoryBo subjectCategoryBo);
   List<SubjectCategoryBo> convertBoToCategory(List<SubjectCategory> categoryList);


}
